        
package com.fire.eyes.service.impl;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.fire.eyes.dao.TaskScheduleJobLogMapper;
import com.fire.eyes.model.TaskScheduleJobLogModel;
import com.fire.eyes.service.ITaskScheduleJobLogService;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;

import java.util.List;
import java.util.Map;

/**
 * 定时任务调度日志Service
 *
 * @author Matthew
 * @Date 2019-01-10 13:46
 */
@Service
public class TaskScheduleJobLogServiceImpl extends ServiceImpl<TaskScheduleJobLogMapper, TaskScheduleJobLogModel> implements ITaskScheduleJobLogService{

    private static final Logger LOGGER = LoggerFactory.getLogger(TaskScheduleJobLogServiceImpl.class);

    @Autowired
    private TaskScheduleJobLogMapper taskScheduleJobLogMapper;


    @Override
    public TaskScheduleJobLogModel selectOne(TaskScheduleJobLogModel entity){
        return taskScheduleJobLogMapper.selectOne(entity);
    }

    @Override
    public List<TaskScheduleJobLogModel>selectList(TaskScheduleJobLogModel model){
         return taskScheduleJobLogMapper.selectList(model, new EntityWrapper<TaskScheduleJobLogModel>());
    }

    @Override
    public List<TaskScheduleJobLogModel>selectList(TaskScheduleJobLogModel model,Wrapper<TaskScheduleJobLogModel>wrapper){
        return taskScheduleJobLogMapper.selectList(model,wrapper);
    }

    @Override
    public List<TaskScheduleJobLogModel>selectPage(Pagination pagination,TaskScheduleJobLogModel model,Wrapper<TaskScheduleJobLogModel>wrapper){
        return taskScheduleJobLogMapper.selectPage(pagination,model,wrapper);
    }

}
